<!--
代码为自动生成 Created by www.magicalcoder.com
 如果你改变了此类 read 请将此行删除
 欢迎加入官方QQ群:323237052
-->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head  th:include="magicalcoder/v103/include/head :: commonHead('权限明细配置列表')"/>
<body class="childrenBody <!-- layui-hide-->">
    <div class="layui-fluid">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">查询条件</div>
                    <div class="layui-card-body">
                        <form class="layui-form queryForm security_list_query_form">
                            <div class="layui-form-item">
                                <div class="layui-inline security_list_query_param_id">
                                    <input type="text" class="layui-input" data-name="id" name="idFirst" placeholder="主键" />
                                </div>
                                <div class="layui-inline security_list_query_param_permissionName">
                                    <input type="text" class="layui-input" data-name="permissionName" name="permissionNameFirst" placeholder="权限名称" />
                                </div>
                                <div class="layui-inline security_list_query_param_moduleId">
                                    <select  data-name="moduleId" class="magicalcoder-foreign-select2 layui-input" lay-ignore="true" name="moduleIdFirst" style="height:30px;width: 200px" data-url="admin/sys_module_rest/search" data-id="id" data-text-fields="moduleTitle" placeholder="所属二级菜单" data-limit="20"><option value=""></option></select>
                                </div>
                                <div class="layui-inline security_list_query_operate_search">
                                    <a class="layui-btn  layui-btn-radius layui-btn-sm search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
                                    <button type="reset" class="layui-btn layui-btn-radius layui-btn-warm layui-btn-sm"><i class="layui-icon layui-icon-refresh"></i>重置</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header"  style="height: auto;">
                        <div class="layui-inline security_list_query_operate_add_news">
                            <a class="layui-btn layui-btn-normal layui-btn-sm addNews_btn"><i class="layui-icon layui-icon-add-1"></i>添加</a>
                        </div>
                        <div class="layui-inline security_list_query_operate_del_all">
                            <a class="layui-btn layui-btn-danger layui-btn-sm delAll_btn"><i class="layui-icon layui-icon-delete"></i>批量删除</a>
                        </div>
                        <div class="layui-inline security_list_export_excel_all">
                            <a class="layui-btn layui-btn-sm exportExcelAll_btn" title="数据量很多时谨慎使用,出于安全考虑最大导出20000条" data-max-export-count="20000"><i class="layui-icon layui-icon-export"></i>导出EXCEL</a>
                        </div>
                    </div>
                    <div class="layui-card-body">
                        <form class="layui-form tableForm security_list_table_form">
                            <table class="security_list_table" id="newsList" lay-filter="newsListFilter" data-primary-fields="id"></table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
        <script type="text/html" id="frontActionTemplate">
            <select class="magicalcoder-table-single-select2 security_list_table_form_frontAction" name="frontAction" lay-ignore="true" data-identify="{{= d.id }}" lay-verify="magicalCoderVerify" magicalcoder-verify=""  placeholder="前端处理方式">
                {{#  if(d.frontAction+"" == ""){ 		 }}
                <option value="" selected="selected">请选择</option>
                {{#  }else{							}}
                <option value="">请选择</option>
                {{#  } 								}}
                {{#  if(d.frontAction+"" == "show"){ 		 }}
                <option value="show" selected="selected">读写</option>
                {{#  }else{							}}
                <option value="show">读写</option>
                {{#  } 								}}
                {{#  if(d.frontAction+"" == "disabled"){ 		 }}
                <option value="disabled" selected="selected">只读</option>
                {{#  }else{							}}
                <option value="disabled">只读</option>
                {{#  } 								}}
            </select>
        </script>
        <script type="text/html" id="filterPlatformTemplate">
            <select class="magicalcoder-table-single-select2 security_list_table_form_filterPlatform" name="filterPlatform" lay-ignore="true" data-identify="{{= d.id }}" lay-verify="magicalCoderVerify" magicalcoder-verify="|minLength=0"  placeholder="请选择规则适用端">
                {{#  if(d.filterPlatform+"" == ""){ 		 }}
                <option value="" selected="selected">请选择</option>
                {{#  }else{							}}
                <option value="">请选择</option>
                {{#  } 								}}
                {{#  if(d.filterPlatform+"" == "front"){ 		 }}
                <option value="front" selected="selected">前端</option>
                {{#  }else{							}}
                <option value="front">前端</option>
                {{#  } 								}}
                {{#  if(d.filterPlatform+"" == "backend"){ 		 }}
                <option value="backend" selected="selected">后端</option>
                {{#  }else{							}}
                <option value="backend">后端</option>
                {{#  } 								}}
                {{#  if(d.filterPlatform+"" == "front_backend"){ 		 }}
                <option value="front_backend" selected="selected">前后端</option>
                {{#  }else{							}}
                <option value="front_backend">前后端</option>
                {{#  } 								}}
            </select>
        </script>
    <!--操作-->
    <script type="text/html" id="newsListOperateTemplate">
        <a class="layui-btn layui-btn-normal layui-btn-xs security_list_table_operate_edit" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs security_list_table_operate_del" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
    </script>
    <div th:replace="magicalcoder/v103/include/main-js :: commonMain" />
    <script type="text/javascript"  th:src="@{/assets/admin/sys_permission/list.js}"></script>
</body>
</html>
